<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>后台管理平台</title>
	<script type="text/javascript" src="${ctx}/plugins/jquery-ext/jquery.min.js"></script>
	<script type="text/javascript" src="${ctx}/plugins/jquery-ext/util.js"></script>
	<link rel="stylesheet" type="text/css" id="theme" href="${ctx}/plugins/jquery-easyui-theme/${theme}/easyui.css" >
	<link rel="stylesheet" type="text/css" href="${ctx}/plugins/jquery-easyui-theme/icon.css" />
	<script type="text/javascript" src="${ctx}/plugins/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${ctx}/plugins/easyui/locale/easyui-lang-zh_CN.js"></script>
	<link rel="stylesheet" type="text/css" href="${ctx}/plugins/icons/icon-all.css" />
    <script type="text/javascript" src="${ctx}/plugins/jquery-ext/jquery.cookie.js"></script>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/css/index.css" />
    <script type="text/javascript" src="${ctx}/static/js/index.js"></script>
</head>
<body id="main" class="easyui-layout">
	<div data-options="region:'north',border:false" class="north">
	  <div class="north_top">
	   <div class="north_left">后台管理系统</div>
	   <div class="north_right">
	        <div id="timerSpan"></div>
            <div id="themeSpan" style="margin-top:5px;">
                <span>更换皮肤风格：</span>
                <select id="themeSelector" class="easyui-combobox" style="width: 140px;"></select>
                <a id="btnHideNorth" class="easyui-linkbutton" data-options="plain: true, iconCls: 'layout-button-up'"></a>
            </div>
	   </div>
	  </div>
	  <div class="north_bar panel-header top-toolbar">
	      <div id="infobar">
              <span class="icon-hamburg-user">${session["loginUser"].username!},您好!</span>
          </div>
         <div id="buttonbar">
          <a id="btnFullScreen" class="easyui-linkbutton" data-options="plain: true, iconCls: 'icon-standard-arrow-inout'">全屏切换</a>
            <a href="javascript:void(0);" class="easyui-menubutton" data-options="menu:'#layout_north_set',iconCls:'icon-standard-cog'">系统</a>  
            <div id="layout_north_set">
				<div id="btnUser" data-options="iconCls:'icon-hamburg-user'">个人信息</div>
				<div id="btnExit" data-options="iconCls:'icon-hamburg-sign-out'">退出系统</div>
			</div>
            <a id="btnShowNorth" class="easyui-linkbutton" data-options="plain: true, iconCls: 'layout-button-down'" style="display: none;"></a>
        </div>
	  </div>
	</div>
	
    <div data-options="region: 'center'">
	    <div id="mainTabs_tools" class="tabs-tool">
	        <table>
	            <tr>
	                <td><a id="mainTabs_jumpHome" class="easyui-linkbutton easyui-tooltip" title="跳转至主页选项卡" data-options="plain: true, iconCls: 'icon-hamburg-home'"></a></td>
	                <td><div class="datagrid-btn-separator"></div></td>
					<td><a id="mainTabs_toggleAll" class="easyui-linkbutton easyui-tooltip" title="展开/折叠面板使选项卡最大化" data-options="plain: true, iconCls: 'icon-standard-arrow-out'"></a></td>
	                <td><div class="datagrid-btn-separator"></div></td>
	                <td><a id="mainTabs_refTab" class="easyui-linkbutton easyui-tooltip" title="刷新当前选中的选项卡" data-options="plain: true, iconCls: 'icon-standard-arrow-refresh'"></a></td>
	                <td><div class="datagrid-btn-separator"></div></td>
	                <td><a id="mainTabs_closeTab" class="easyui-linkbutton easyui-tooltip" title="关闭所有选项卡" data-options="plain: true, iconCls: 'icon-standard-application-form-delete'"></a></td>
	            </tr>
	        </table>
	    </div>
        <div id="mainTabs" class="easyui-tabs" data-options="fit: true, border: false, showOption: true, enableNewTabMenu: true, tools: '#mainTabs_tools', enableJumpTabMenu: true">
            <div title="首页" class="center_index"> 
		         <center><img src="${ctx}/static/images/index.jpg" width="600px"/></center>
	        </div>
        </div>
    </div>
    <div data-options="region: 'west', title: '菜单导航栏', iconCls: 'icon-standard-map', split: true,  maxWidth: 300" style="width: 150px; padding: 1px;">
        <div id="myMenu" class="easyui-accordion" data-options="fit:true,border:false">
			<#list permissions as p>
			 <div title="${p.name}" style="padding: 5px;" data-options="selected:false,border:false,iconCls:'${p.iconCls}'">
			<#list p.children as t>
			 <a class="easyui-linkbutton" data-options="plain:true,iconCls:'${t.iconCls}'" style="margin-bottom:5px;" onclick="addTab('${t.name}','${ctx}${t.url}')">${t.name}</a>
			</#list>
			</div>
			</#list>
			<div data-options="selected:true"></div>
		</div>
     </div>
	
	<div data-options="region: 'east', title: '日历', iconCls: 'icon-standard-date', split: true,collapsed: true, maxWidth: 500" style="width: 220px;">
        <div id="eastLayout" class="easyui-layout" data-options="fit: true">
            <div data-options="region: 'north', split: false, border: false" style="height: 220px;">
                <div class="easyui-calendar" data-options="fit: true, border: false"></div>
            </div>
            <div id="linkPanel" data-options="region: 'center', border: false, title: '通知', iconCls: 'icon-hamburg-link', tools: [{ iconCls: 'icon-hamburg-refresh', handler: function () { window.link.reload(); } }]">
            </div>
        </div>
    </div>
    
	<div class="south" data-options="region:'south', title: '关于...', iconCls: 'icon-standard-information', collapsed: true, border: false">
        <div class="content">
            @2001-2020 Copyright: Mini Personal.&nbsp;&nbsp;|&nbsp;&nbsp;
            <a href="http://www.hao123.com" target="_blank" style="text-decoration: none;">关于 Mini</a><br />建议使用&nbsp;
            <a href="http://windows.microsoft.com/zh-CN/internet-explorer/products/ie/home" target="_blank" style="text-decoration: none;">IE(Version 9/10/11)</a>/
            <a href="https://www.google.com/intl/zh-CN/chrome/browser/" target="_blank" style="text-decoration: none;">Chrome</a>/
            <a href="http://firefox.com.cn/download/"  style="text-decoration: none;">Firefox</a>
            &nbsp;系列浏览器。
            <script type="text/javascript">
                var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                document.write(unescape("%3Cspan id='cnzz_stat_icon_5654850'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s9.cnzz.com/stat.php%3Fid%3D5654850%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
            </script>
        </div>
	</div>
</body>
</html>